package com.taotao.manager.feign;


import com.taotao.common.pojo.TaotaoResult;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by zhang_xming on 2017/2/13.
 */
@FeignClient(name = "taotao-search")
public interface SearchFeignClient {
    @RequestMapping(value = "/index/import", method = RequestMethod.POST)
    public TaotaoResult importIndex();
}
